home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / gcc / libnixV0_8.lha / gnu / libnix-sources.lha / sources / nix / stdlib / system.c < prev   
Encoding:
C/C++ Source or Header  |  1994-12-12  |  282 b   |  15 lines

  1. #include <utility/TagItem.h>
  2. #include <dos/dos.h>
  3. #ifdef __GNUC__
  4. #include <inline/dos.h>
  5. #endif
  6.  
  7. static struct TagItem list[]={ { TAG_END,0 } }; /* No Tags */
  8.  
  9. int system(const char *string)
  10. { if(string==NULL)
  11.     return 1;
  12.   else
  13.     return SystemTagList((char *)string,list); 
  14. }
  15.